package com.lambda.hybrid.handler;

import com.lambda.hybrid.Callback;
import com.lambda.hybrid.HybridView;

public class SetConfigHandler extends AbstractHandler {
    private HybridView mHybridView;

    public SetConfigHandler(HybridView hybridView) {
        mHybridView = hybridView;
    }

    @Override
    public void onHandle(String data, Callback callback) throws Exception {
        mHybridView.setConfig(data);
    }
}
